package com.qsxc.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qsxc.business.bean.R;
import com.qsxc.business.promoter.bean.req.CashApplyReq;
import com.qsxc.business.promoter.bean.vo.CashRecordVo;
import com.qsxc.dao.entity.SmPromoterCashRecord;

import java.util.List;

/**
 * <p>
 * 推广员提现记录表 服务类
 * </p>
 *
 * @author
 * @since 2024-09-25
 */
public interface ISmPromoterCashRecordService extends IService<SmPromoterCashRecord> {
    /**
     * 获取推广员提现记录
     *
     * @param openid
     * @return
     */
    R<List<CashRecordVo>> getPromoterCashRecord(String openid, String busiStatus) throws Exception;

    /**
     * 提现申请
     */
    R saveCashApply(CashApplyReq cashApplyReq) throws Exception;
}
